Skip to content

[UR][CI] Add unified test result reporting for UR tests - #22909

Merged
sarnex merged 11 commits into
intel:syclfrom
kekaczma:ur-ci-test-tools
Sep 11, 2026
Merged

sarnex merged 11 commits into
intel:syclfrom
kekaczma:ur-ci-test-tools

Conversation

@kekaczma

Copy link
Copy Markdown
Contributor

Introduce common tooling for collecting and reporting results from UR conformance and adapter-specific test executions.

The implementation:

  • provides a common execution and reporting path for UR test suites,
  • collects detailed test statuses and execution statistics,
  • parses LIT output and JUnit XML to obtain test-level information,
  • generates human-readable console output and GitHub Step Summary,
  • preserves full execution logs and XML results as CI artifacts,
  • separates test execution, result parsing, and summary generation to support future consumers of test result data.

This is the first implementation step towards a broader test management and test health monitoring system. Database integration, historical analysis, and automated PR triage are outside the scope of this change.

Introduce common tooling for collecting and reporting results from UR conformance and adapter-specific test executions.

The implementation:
- provides a common execution and reporting path for UR test suites,
- collects detailed test statuses and execution statistics,
- parses LIT output and JUnit XML to obtain test-level information,
- generates human-readable console output and GitHub Step Summary,
- preserves full execution logs and XML results as CI artifacts,
- separates test execution, result parsing, and summary generation to support future consumers of test result data.

This is the first implementation step towards a broader test management and test health monitoring system. Database integration, historical analysis, and automated PR triage are outside the scope of this change.
@kekaczma
kekaczma marked this pull request as ready for review August 19, 2026 14:17
@kekaczma
kekaczma requested review from a team as code owners August 19, 2026 14:17
@kekaczma

Copy link
Copy Markdown
Contributor Author

failing test is related with known issue #22858

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: this should be enough on GitHub, but we could consider copying these artifacts and storing them on a server for longer.

Comment thread devops/scripts/ur_test_tools/__init__.py Outdated
Comment thread devops/scripts/ur_test_tools/cli.py Outdated
Comment thread devops/scripts/ur_test_tools/summary_generator.py Outdated
Comment thread devops/scripts/ur_test_tools/constants.py
Comment thread devops/scripts/ur_test_tools/test_runner.py Outdated

@rbanka1 rbanka1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are also a lot of unnecessary comments, I think most of them could be deleted

Comment thread .github/workflows/ur-build-hw.yml Outdated
Comment thread devops/actions/run-tests/ur/action.yml Outdated
Comment thread devops/actions/run-tests/ur/action.yml Outdated
Comment thread devops/scripts/ur_test_tools/parsers/log_parser.py Outdated
Comment thread unified-runtime/test/CMakeLists.txt Outdated
Comment thread .ci/requirements.txt Outdated
Comment thread devops/scripts/ur_test_tools/summary_generator.py Outdated
Comment thread devops/scripts/ur_test_tools/summary_generator.py Outdated
Comment thread devops/actions/run-tests/ur/action.yml
@kekaczma
kekaczma marked this pull request as draft August 28, 2026 06:09
Clarify the distinction between common reporting options (what test
categories to show) and execution-specific options (how to format
output for CI vs standalone builds).
New architecture:
- Parser layer: produces ParsedLogData and ParsedXMLData observations
- Reconciliation layer: combines observations into TestRunResult
- Summary generator: consumes TestRunResult with group_by_status()
This change introduces common test result collection and reporting for Unified Runtime conformance and adapter-specific CI tests.

Compared to the initial version, the implementation has been updated based on review feedback to:

- keep LIT test statuses such as SKIPPED and UNSUPPORTED distinct,
- reconcile LIT and JUnit XML results without losing LIT-specific status information,
- separate test execution, parsing, reconciliation, and presentation responsibilities,
- simplify the internal API and remove redundant wrappers and helpers,
- keep CI reporting options separate from execution-specific LIT options.

Focused regression tests were added for the non-trivial result mapping and reconciliation behavior identified during review.
@kekaczma
kekaczma marked this pull request as ready for review September 4, 2026 08:57

@sarnex sarnex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only took a quick look at the yml changes, lgtm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not clear to me what WORKFLOW_URL is for

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WORKFLOW_URL is a link to the current workflow run, built from github.server_url, github.repository, and github.run_id. It's printed after the summary to provide a direct way to access the full logs and XML artifacts for that run.

@sys-ce-bb

Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers please consider merging

@rbanka1 rbanka1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sys-ce-bb

Copy link
Copy Markdown
Contributor

@intel/llvm-gatekeepers please consider merging

@sarnex
sarnex merged commit 5e81539 into intel:sycl Sep 11, 2026
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants